<?php
var_dump($a);
json_encode($value);


return [
    'components' => [
        'url' => [
            'class' => 'yii\helpers\Url',
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            //这句一定有，false发送邮件，true只是生成邮件在runtime文件夹下，不发邮件
            'useFileTransport' =>true,
            /*
             'transport' => [
                 'class' => 'Swift_SmtpTransport',
                 'host' => '',  //每种邮箱的host配置不一样
                 'username' => '',
                 'password' => '',
                 'port' => '25',
                 'encryption' => 'tls',
             ],
'messageConfig'=>[
    'charset'=>'UTF-8',
    'from'=>['pansen@leho.com'=>'YES客服']
],*/
        ],
        'db' => require(__DIR__ . '/../../../config/db.config.php'),
        //'redis' => require(__DIR__ . '/../../../config/redis.config.php'),
        //'mongodb' => require(__DIR__ . '/../../../config/mongodb.config.php'),
    ],
];
